package org.self.activitidemo;

//import org.self.activitidemo.config.activiti.modeler.explorer.JsonpCallbackFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = {
        org.activiti.spring.boot.SecurityAutoConfiguration.class,
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})

@ComponentScan({"org.activiti.rest.diagram", "org.self.activitidemo"})
public class ActivitidemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(ActivitidemoApplication.class, args);
    }

//    @Bean
//    public JsonpCallbackFilter filter(){
//        return new JsonpCallbackFilter();
//    }

}
